home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C25 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  5.4 KB  |  151 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C25
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     SingletonPattern.exe \
  25.     UseLog2.exe \
  26.     SingletonPattern2.exe \
  27.     FunctionStaticSingleton.exe \
  28.     ShapeFactory1.exe \
  29.     ShapeFactory2.exe \
  30.     AbstractFactory.exe \
  31.     VirtualConstructor.exe \
  32.     InnerClassIdiom.exe \
  33.     ObservedFlower.exe \
  34.     PaperScissorsRock.exe \
  35.     BeeAndFlowers.exe \
  36.     Recycle1.exe \
  37.     Recycle3.exe \
  38.     Recycle4.exe \
  39.     DoubleDispatch.exe \
  40.     TrashVisitor.exe \
  41.     DynaTrash.exe 
  42.  
  43. test: all 
  44.     SingletonPattern.exe  
  45.     UseLog2.exe  
  46.     SingletonPattern2.exe  
  47.     FunctionStaticSingleton.exe  
  48.     ShapeFactory1.exe  
  49.     ShapeFactory2.exe  
  50.     AbstractFactory.exe  
  51.     VirtualConstructor.exe  
  52.     InnerClassIdiom.exe  
  53.     ObservedFlower.exe  
  54.     PaperScissorsRock.exe  
  55.     BeeAndFlowers.exe  
  56.     Recycle1.exe  
  57.     Recycle3.exe  
  58.     Recycle4.exe  
  59.     DoubleDispatch.exe  
  60.     TrashVisitor.exe  
  61.     DynaTrash.exe  
  62.  
  63. bugs: \
  64.     Recycle2.exe 
  65.  
  66. SingletonPattern.exe: SingletonPattern.obj 
  67.     $(CPP) $(OFLAG)SingletonPattern.exe SingletonPattern.obj 
  68.  
  69. UseLog2.exe: UseLog2.obj UseLog1.obj 
  70.     $(CPP) $(OFLAG)UseLog2.exe UseLog2.obj UseLog1.obj 
  71.  
  72. SingletonPattern2.exe: SingletonPattern2.obj 
  73.     $(CPP) $(OFLAG)SingletonPattern2.exe SingletonPattern2.obj 
  74.  
  75. FunctionStaticSingleton.exe: FunctionStaticSingleton.obj 
  76.     $(CPP) $(OFLAG)FunctionStaticSingleton.exe FunctionStaticSingleton.obj 
  77.  
  78. ShapeFactory1.exe: ShapeFactory1.obj 
  79.     $(CPP) $(OFLAG)ShapeFactory1.exe ShapeFactory1.obj 
  80.  
  81. ShapeFactory2.exe: ShapeFactory2.obj 
  82.     $(CPP) $(OFLAG)ShapeFactory2.exe ShapeFactory2.obj 
  83.  
  84. AbstractFactory.exe: AbstractFactory.obj 
  85.     $(CPP) $(OFLAG)AbstractFactory.exe AbstractFactory.obj 
  86.  
  87. VirtualConstructor.exe: VirtualConstructor.obj 
  88.     $(CPP) $(OFLAG)VirtualConstructor.exe VirtualConstructor.obj 
  89.  
  90. InnerClassIdiom.exe: InnerClassIdiom.obj 
  91.     $(CPP) $(OFLAG)InnerClassIdiom.exe InnerClassIdiom.obj 
  92.  
  93. ObservedFlower.exe: ObservedFlower.obj 
  94.     $(CPP) $(OFLAG)ObservedFlower.exe ObservedFlower.obj 
  95.  
  96. PaperScissorsRock.exe: PaperScissorsRock.obj 
  97.     $(CPP) $(OFLAG)PaperScissorsRock.exe PaperScissorsRock.obj 
  98.  
  99. BeeAndFlowers.exe: BeeAndFlowers.obj 
  100.     $(CPP) $(OFLAG)BeeAndFlowers.exe BeeAndFlowers.obj 
  101.  
  102. Recycle1.exe: Recycle1.obj 
  103.     $(CPP) $(OFLAG)Recycle1.exe Recycle1.obj 
  104.  
  105. Recycle2.exe: Recycle2.obj 
  106.     $(CPP) $(OFLAG)Recycle2.exe Recycle2.obj 
  107.  
  108. Recycle3.exe: Recycle3.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  109.     $(CPP) $(OFLAG)Recycle3.exe Recycle3.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  110.  
  111. Recycle4.exe: Recycle4.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  112.     $(CPP) $(OFLAG)Recycle4.exe Recycle4.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  113.  
  114. DoubleDispatch.exe: DoubleDispatch.obj DDTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  115.     $(CPP) $(OFLAG)DoubleDispatch.exe DoubleDispatch.obj DDTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  116.  
  117. TrashVisitor.exe: TrashVisitor.obj VisitorTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  118.     $(CPP) $(OFLAG)TrashVisitor.exe TrashVisitor.obj VisitorTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  119.  
  120. DynaTrash.exe: DynaTrash.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  121.     $(CPP) $(OFLAG)DynaTrash.exe DynaTrash.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  122.  
  123.  
  124. SingletonPattern.obj: SingletonPattern.cpp 
  125. UseLog1.obj: UseLog1.cpp LogFile.h 
  126. UseLog2.obj: UseLog2.cpp LogFile.h 
  127. SingletonPattern2.obj: SingletonPattern2.cpp 
  128. FunctionStaticSingleton.obj: FunctionStaticSingleton.cpp 
  129. ShapeFactory1.obj: ShapeFactory1.cpp ..\purge.h 
  130. ShapeFactory2.obj: ShapeFactory2.cpp ..\purge.h 
  131. AbstractFactory.obj: AbstractFactory.cpp 
  132. VirtualConstructor.obj: VirtualConstructor.cpp 
  133. InnerClassIdiom.obj: InnerClassIdiom.cpp 
  134. ObservedFlower.obj: ObservedFlower.cpp Observable.h 
  135. PaperScissorsRock.obj: PaperScissorsRock.cpp ..\purge.h 
  136. BeeAndFlowers.obj: BeeAndFlowers.cpp ..\purge.h 
  137. Recycle1.obj: Recycle1.cpp sumValue.h ..\purge.h 
  138. Recycle2.obj: Recycle2.cpp sumValue.h ..\purge.h 
  139. Trash.obj: Trash.cpp Trash.h 
  140. TrashStatics.obj: TrashStatics.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  141. TrashPrototypeInit.obj: TrashPrototypeInit.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  142. fillBin.obj: fillBin.cpp fillBin.h Fillable.h ..\C17\trim.h ..\require.h 
  143. Recycle3.obj: Recycle3.cpp Trash.h Aluminum.h Paper.h Glass.h fillBin.h sumValue.h ..\purge.h 
  144. Recycle4.obj: Recycle4.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h fillBin.h sumValue.h ..\purge.h 
  145. DDTrashPrototypeInit.obj: DDTrashPrototypeInit.cpp TypedBin.h Aluminum.h Paper.h Glass.h Cardboard.h 
  146. DoubleDispatch.obj: DoubleDispatch.cpp TypedBin.h fillBin.h sumValue.h ..\purge.h 
  147. VisitorTrashPrototypeInit.obj: VisitorTrashPrototypeInit.cpp Visitor.h 
  148. TrashVisitor.obj: TrashVisitor.cpp Visitor.h fillBin.h ..\purge.h 
  149. DynaTrash.obj: DynaTrash.cpp Trash.h fillBin.h sumValue.h ..\purge.h 
  150.  
  151.